// Package userorder
// @Link  https://github.com/bufanyun/hotgo
// @Copyright  Copyright (c) 2025 HotGo CLI
// @Author  Ms <133814250@qq.com>
// @License  https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.15.11
package userorder

import (
	"hotgo/internal/model/input/form"
	"hotgo/internal/model/input/sysin"

	"github.com/gogf/gf/v2/frame/g"
)

// ListReq 查询订单中心列表
type ListReq struct {
	g.Meta `path:"/userOrder/list" method:"get" tags:"订单中心" summary:"获取订单中心列表"`
	sysin.UserOrderListInp
}

type ListRes struct {
	form.PageRes
	List []*sysin.UserOrderListModel `json:"list"   dc:"数据列表"`
}

// ExportReq 导出订单中心列表
type ExportReq struct {
	g.Meta `path:"/userOrder/export" method:"get" tags:"订单中心" summary:"导出订单中心列表"`
	sysin.UserOrderListInp
}

type ExportRes struct{}

// ViewReq 获取订单中心指定信息
type ViewReq struct {
	g.Meta `path:"/userOrder/view" method:"get" tags:"订单中心" summary:"获取订单中心指定信息"`
	sysin.UserOrderViewInp
}

type ViewRes struct {
	*sysin.UserOrderViewModel
}

// EditReq 修改/新增订单中心
type EditReq struct {
	g.Meta `path:"/userOrder/edit" method:"post" tags:"订单中心" summary:"修改/新增订单中心"`
	sysin.UserOrderEditInp
}

type EditRes struct {
	sysin.UserOrderViewModel
}

// DeleteReq 删除订单中心
type DeleteReq struct {
	g.Meta `path:"/userOrder/delete" method:"post" tags:"订单中心" summary:"删除订单中心"`
	sysin.UserOrderDeleteInp
}

type DeleteRes struct{}

// StatusReq 更新订单中心状态
type StatusReq struct {
	g.Meta `path:"/userOrder/status" method:"post" tags:"订单中心" summary:"更新订单中心状态"`
	sysin.UserOrderStatusInp
}

type StatusRes struct{}
